package dao.impl;

import dao.UserDao;
import pojo.User;
import utils.MyBatisUtil;

import java.util.List;

public class UserDaoImpl implements UserDao {
    @Override
    public List<User> findAll() {
        return  MyBatisUtil.getSession().getMapper(UserDao.class).findAll();
    }
}
